/**
 * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.html or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	//config.skin='v2';  // có thể đổi thành 1 trong 3 giá trị sau: v2, kama, office2003 
	config.enterMode = CKEDITOR.ENTER_BR;
	config.toolbar_Full =
			[
			['Source','-','Save','NewPage','Preview','-','Templates'],
			['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
			['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
			['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
			'/',
			['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
			['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
			['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
			['BidiLtr', 'BidiRtl' ],
			['Link','Unlink','Anchor'],
			['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe'],
			'/',
			['Styles','Format','Font','FontSize'],
			['TextColor','BGColor'],
			['Maximize', 'ShowBlocks','-','About']
			];
			
			config.filebrowserBrowseUrl = 'http://localhost:81/shopnuochoa/scripts/tools/ckfinder/ckfinder.html';
			config.filebrowserImageBrowseUrl = 'http://localhost:81/shopnuochoa/scripts/tools/ckfinder/ckfinder.html?type=Images';
			config.filebrowserFlashBrowseUrl = 'http://localhost:81/shopnuochoa/scripts/tools/ckfinder/ckfinder.html?type=Flash';
			config.filebrowserUploadUrl = 'http://localhost:81/shopnuochoa/scripts/tools/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files';
			config.filebrowserImageUploadUrl = 'http://localhost:81/shopnuochoa/scripts/tools/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images';
			config.filebrowserFlashUploadUrl = 'http://localhost:81/shopnuochoa/scripts/tools/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash';/**/
};
